﻿using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;

namespace VisionCloud.Domain.DtoModel.Ms
{
    public class MsApartmentSunmaryInfoDto
    {
        public Guid TaskId { get; set; }

        public string TaskName { get; set; }

        public int TaskType { get; set; }

        public string TaskTypeName
        {
            get
            {
                switch (TaskType) 
                {
                    case 1:
                        return "自检";
                    case 2:
                        return "巡检";
                    default:
                        return "";
                }
            }
        }

        public string BuildingName { get; set; }

        public string FloorName { get; set; }

        public string Craft { get; set; }

        public Guid ProjectId { get; set; }

        public string ProjectName { get; set; }

        public string ProjectStage { get; set; }

        public string UserName { get; set; }

        public string CreateDate { get; set; }

        public string FinishTime { get; set; }

        public string ResultDataFilePath { get; set; }

        public string ImageFile { get; set; }

        public JToken Measuresummaryinfo { get; set; }

        public string SupportStandard { get; set; }

        public string UsestandardAllInfo { get; set; }

        public List<MeasureItemSummaryInfo> MeasureItems { get; set; }
    }
}
